import Vue from 'vue'
import Router from 'vue-router'

import login from '@/components/login'
import main from '@/components/main'
import wechat from '@/components/wechat/edit'


Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      component: login
    },
    {
      path:'/main',
      component:main,
      children:[
        {
          path: '/wechat',
          component: wechat,
        }
      ]
    }
  ]
})
